package cn.lcsjsxy.yxz.day15.jdk8.apply;

interface Filial {
    default void help() {
        System.out.println("zz");
    }

    interface Spoony {
        default void help() {
            System.out.println("xx");
        }
    }

    class Father {
        public void help() {
            System.out.println("选择xx");
        }
    }

    class Man implements Filial, Spoony {
        @Override
        public void help() {
//            System.out.println("该选哪个?");
//            Filial.super.help();      //选择zz
//            Spoony.super.help();  //选择xx

        }
    }
}